﻿using System;

namespace ManageDto
{
    /// <summary>
    /// 用户数据
    /// </summary>
    [Serializable]
    public sealed class UserDto
    {
        /// <summary>
        /// 构造
        /// </summary>
        public UserDto()
        {
            this.UserId = Guid.NewGuid().ToString("N");
        }

        public string UserId { get; set; }
        public string ApplyKey { get; set; }
        public string Account { get; set; }
        public string Password { get; set; }
        public string Secretkey { get; set; }
        public int Gender { get; set; }
        public bool IsAdmin { get; set; }
        public string Token { get; set; }

        public string FullName { get; set; }
        public string JobNumber { get; set; }
        public string NickName { get; set; }
        public string HeadIcon { get; set; }
        public string Mobile { get; set; }

        public string CompanyId { get; set; }
        public string DepartmentId { get; set; }

        public string Sort { get; set; }
        public string BusinessID { get; set; }
        public string ModifyUserId { get; set; }
        public string ModifyUserName { get; set; }
        public bool IsDelete { get; set; }

        public string CompanyName { get; set; }
        public string DepartmentName { get; set; }
        public string PostTitle { get; set; }
    }
}
